[jquery/javascript] How select all checkboxes with class "xxx" ?

Posted by marc on Stack Overflow See other posts from Stack Overflow or by marc
Published on 2010-06-13T12:01:43Z Indexed on 2010/06/13 12:02 UTC
Read the original article Hit count: 186

Filed under:
|

Welcome,

It it possible to select all checkboxes / uncheck all checkboxes what have class "xxx" ?

I can't use "name" and "ID" because there are generated dynamical via PHP and i don't know their name.

So maybye i can add class "xxx" for these what i wan't control ?

Is is possible ?

Or, if not possible. Maybye i can select all / unselect what are inside table with id "selectall" ?

Regards

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery